
*****employment growth by industry 9508*****************************************************************************************

*****PANEL A

foreach X in allhvy   {
	
    ivreg2 D_manuemp`X'9508_cp larea_cc90 larea_pf05 province_capitalPlus  lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (rail_2010_rays D_censuspop9010_pref=rail_1962_rays ruralMigp00 ) if D0==1,  first ffirst robust cluster(province05)
	outreg2 rail_2010_rays using "tableA4", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  replace

	ivreg2 D_manuemp`X'9508_cp larea_cc90 larea_pf05 province_capitalPlus  lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (all_road_2010_rays po_s_all_road_2010_ringxda D_censuspop9010_pref =road_1962_rays po_s_road_1962_ringxda ruralMigp00 ) if D0==1,  first ffirst robust cluster(province05)
	outreg2 all_road_2010_rays po_s_all_road_2010_ringxda using " tableA4", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append 

	ivreg2 D_manuemp`X'9508_cp larea_cc90 larea_pf05 province_capitalPlus  lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (rail_2010_rays po_s_all_road_2010_ringxda D_censuspop9010_pref =rail_1962_rays po_s_road_1962_ringxda ruralMigp00 ) if D0==1,  first ffirst robust cluster(province05)
	outreg2 rail_2010_rays po_s_all_road_2010_ringxda using " tableA4", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append 

}


foreach X in  allmdm    {
	
	ivreg2 D_manuemp`X'9508_cp larea_cc90 larea_pf05 province_capitalPlus lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (rail_2010_rays D_censuspop9010_pref=rail_1962_rays ruralMigp00 ) if D0==1,  first ffirst robust cluster(province05)
	outreg2 rail_2010_rays using " tableA4", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append 

	ivreg2 D_manuemp`X'9508_cp larea_cc90 larea_pf05 province_capitalPlus  lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (all_road_2010_rays po_s_all_road_2010_ringxda D_censuspop9010_pref =road_1962_rays po_s_road_1962_ringxda ruralMigp00 ) if D0==1,  first ffirst robust cluster(province05)
	outreg2 all_road_2010_rays po_s_all_road_2010_ringxda using " tableA4", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append 

	ivreg2 D_manuemp`X'9508_cp larea_cc90 larea_pf05 province_capitalPlus  lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (rail_2010_rays po_s_all_road_2010_ringxda D_censuspop9010_pref =rail_1962_rays po_s_road_1962_ringxda ruralMigp00 ) if D0==1,  first ffirst robust cluster(province05)
	outreg2 rail_2010_rays po_s_all_road_2010_ringxda using " tableA4", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append 

}
  
 
 *** BEGIN PANEL B
 
 foreach X in txtlaprl  {
	
	ivreg2 D_manuemp`X'9508_cp larea_cc90 larea_pf05 province_capitalPlus  lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (all_road_2010_rays D_censuspop9010_pref=road_1962_rays ruralMigp00 ) if D0==1,  first ffirst robust cluster(province05)
	outreg2 rail_2010_rays using " tableA4", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append 
	
	ivreg2 D_manuemp`X'9508_cp larea_cc90 larea_pf05 province_capitalPlus  lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (rail_2010_rays D_censuspop9010_pref=rail_1962_rays ruralMigp00 ) if D0==1,  first ffirst robust cluster(province05)
	outreg2 rail_2010_rays using " tableA4", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append 

	ivreg2 D_manuemp`X'9508_cp larea_cc90 larea_pf05 province_capitalPlus  lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (all_road_2010_rays po_s_all_road_2010_ringxda D_censuspop9010_pref =road_1962_rays po_s_road_1962_ringxda ruralMigp00 ) if D0==1,  first ffirst robust cluster(province05)
	outreg2 all_road_2010_rays po_s_all_road_2010_ringxda using " tableA4", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append 

	ivreg2 D_manuemp`X'9508_cp larea_cc90 larea_pf05 province_capitalPlus  lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (rail_2010_rays po_s_all_road_2010_ringxda D_censuspop9010_pref =rail_1962_rays po_s_road_1962_ringxda ruralMigp00 ) if D0==1,  first ffirst robust cluster(province05)
	outreg2 rail_2010_rays po_s_all_road_2010_ringxda using " tableA4", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append 

}

foreach X in ht  {
	
    ivreg2 D_manuemp`X'9508_cp larea_cc90 larea_pf05 province_capitalPlus  lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (rail_2010_rays D_censuspop9010_pref=rail_1962_rays ruralMigp00 ) if D0==1,  first ffirst robust cluster(province05)
	outreg2 rail_2010_rays using " tableA4", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append 

	ivreg2 D_manuemp`X'9508_cp larea_cc90 larea_pf05 province_capitalPlus  lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (all_road_2010_rays po_s_all_road_2010_ringxda D_censuspop9010_pref =road_1962_rays po_s_road_1962_ringxda ruralMigp00 ) if D0==1,  first ffirst robust cluster(province05)
	outreg2 all_road_2010_rays po_s_all_road_2010_ringxda using " tableA4", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append 

	ivreg2 D_manuemp`X'9508_cp larea_cc90 larea_pf05 province_capitalPlus  lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (rail_2010_rays po_s_all_road_2010_ringxda D_censuspop9010_pref =rail_1962_rays po_s_road_1962_ringxda ruralMigp00 ) if D0==1,  first ffirst robust cluster(province05)
	outreg2 rail_2010_rays po_s_all_road_2010_ringxda using " tableA4", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append 

	
	
}

foreach X in nonht  {
		
	ivreg2 D_manuemp`X'9508_cp larea_cc90 larea_pf05 province_capitalPlus  lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (rail_2010_rays D_censuspop9010_pref=rail_1962_rays ruralMigp00 ) if D0==1,  first ffirst robust cluster(province05)
	outreg2 rail_2010_rays using " tableA4", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append 

	ivreg2 D_manuemp`X'9508_cp larea_cc90 larea_pf05 province_capitalPlus  lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (all_road_2010_rays po_s_all_road_2010_ringxda D_censuspop9010_pref =road_1962_rays po_s_road_1962_ringxda ruralMigp00 ) if D0==1,  first ffirst robust cluster(province05)
	outreg2 all_road_2010_rays po_s_all_road_2010_ringxda using " tableA4", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append 

	ivreg2 D_manuemp`X'9508_cp larea_cc90 larea_pf05 province_capitalPlus  lcensuspop1982_pref frac_highedu1982_pref share_emp_man1982_pref  (rail_2010_rays po_s_all_road_2010_ringxda D_censuspop9010_pref =rail_1962_rays po_s_road_1962_ringxda ruralMigp00 ) if D0==1,  first ffirst robust cluster(province05)
	outreg2 rail_2010_rays po_s_all_road_2010_ringxda using " tableA4", word excel  dec(4)  auto(2) symbol(***,**,*)  se addstat(First stage F, e(widstat))  append 

}

